<!doctype html>
<html class="code">

<head>
    <meta charset="utf-8" />
    <title>Flex Items</title>
    <style>
        div {
            background-color: rgba(0, 0, 0, 0.1);
        }

        article {
            width: 650px;
        }

        article>div {
            display: flex;
            border: 1px dashed;
            padding: 2px;
            min-height: 100px;
        }

        div>div {
            border: 1px solid;
            margin: 2px;
            /* this makes the extra distributed space available less than 450px */
            padding: 40px 0;
            width: 100px;
            font-size: 1rem;
        }

        body {
            font-size: 20px;
            text-align: center;
        }

        p {
            margin-top: 0;
        }
    </style>
</head>

<body>
    <article>
        <div>
            <div style="flex-grow: 0">flex-grow: 0</div>
            <div style="flex-grow: 0">flex-grow: 0</div>
            <div style="flex-grow: 0">flex-grow: 0</div>
        </div>
        <p>Flex container⤴</p>
    </article>


    <article>
        <div>
            <div style="flex-grow: 0">flex-grow: 0</div>
            <div style="flex-grow: 0">flex-grow: 0</div>
            <div style="flex-grow: 1">flex-grow: 1</div>
        </div>
        <p>Flex container⤴</p>
    </article>

    <article>
        <div>
            <div style="flex-grow: 1">flex-grow: 1</div>
            <div style="flex-grow: 1">flex-grow: 1</div>
            <div style="flex-grow: 3">flex-grow: 3</div>
        </div>
        <p>Flex container⤴</p>
    </article>




    <article>
        <div>
            <div style="flex-grow: 0.5">flex-grow: 0.5</div>
            <div style="flex-grow: 0.5">flex-grow: 0.5</div>
            <div style="flex-grow: 1.5">flex-grow: 1.5</div>
        </div>
        <p>Flex container⤴</p>
    </article>
</body>

</html>